package com.xq.spring.beans;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.Marker;
import org.slf4j.MarkerFactory;

/**
 * 斧头的实现类,石斧.
 * 
 * @author 郭凯强
 */
public class StoneAxe implements Axe {

	private final Marker marker = MarkerFactory.getMarker("stone");
	private final Logger logger = LoggerFactory.getLogger(StoneAxe.class);

	public StoneAxe() {
		logger.debug(marker, "实例化Bean={}", StoneAxe.class.getName());
	}

	@Override
	public void chop() {
		logger.debug(marker, "{}是用石斧砍柴!", StoneAxe.class.getSimpleName());
	}

}
